<%-- 
    Document   : ResultViewForm
    Created on : Jan 10, 2012, 12:37:23 AM
    Author     : Priyanka
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
    <s:form namespace="/resultview" action="resultview">

        <table border="2">
               <s:iterator value="teamresults">
                <tr><td><b>Team Result Details</b></td></tr>
               <tr>
                <th>team_name </th>
                <th>team_id</th>
                <th>module Code</th>
                <th>Per Evaluation</th>
                <th>evaluation Total</th>
               
            </tr> 
               
             <tr>
                <td><s:property value="team_name"/></td>
                <td><s:property value="team_id"/></td>
                <td><s:property value="moduleCode"/></td>
                <td> <table>
                       
                    <s:iterator value="evaluationItems"> 
                        <tr>   <td><s:property value="key"/></td></tr>
                         <tr>   <td><s:property value="value"/></td></tr>
                     </s:iterator>
                    
                    </table>
                </td>
                <td><s:property value="evaluationTotal"/></td>
               
                       
             </tr>
           
</s:iterator>  
        </table>
        </br></br>
        <s:submit label="Submit"/>
        &nbsp;&nbsp;&nbsp;
        <s:submit key="Cancel"/>  
    </s:form>
    </body>
</html>
